﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master" AutoEventWireup="true" CodeBehind="EquipmentDetail.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.Shop.EquipmentDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="../../Content/CSS/newsdetail.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellspacing="1" cellpadding="0" border="0" width="960" class="askfra">
        <tbody>
            <tr>
                <th class="atit" colspan="2">
                    <%= CheckStatus() %>
                </th>
            </tr>
            <tr> 
                <td class="bg">
                    道具名称
                </td>
                <td class="boxtit">
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtName" ErrorMessage="*请填写道具名称" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td class="bg">
                    道具描述
                </td>
                <td class="boxtit">
                    <asp:TextBox TextMode="MultiLine" ID="txtDescription" runat="server" 
                        Height="73px" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bg">
                    道具类型
                </td>
                <td class="boxtit">
                    <asp:DropDownList ID="dbType" runat="server"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="bg">
                    需要点数
                </td>
                <td class="boxtit">
                    <asp:TextBox number ID="txtPrice" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtPrice" Display="Dynamic" ErrorMessage="*请输入有效数目" 
                        SetFocusOnError="True" ValidationExpression="\d+"></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPrice" Display="Dynamic" ErrorMessage="*请填写数目" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
          
            <tr>
                <td class="bg">
                    图片
                </td>
                <td class="boxtit">
                    
                    <asp:FileUpload ID="FileUpload1"  CssClass="buttoncss" runat="server" />
                    
                </td>
            </tr>
            
            <tr>
                <td class="bg">
                </td>
                <td>
                    <ul class="abtn">
                        <li>
                            <asp:Button runat="server" ID="btnSave" Text="保存" CssClass="buttoncss" OnClick="Save" /></li>
                            <li>
                            <asp:Button runat="server" ID="btnReturn" CausesValidation="False" Text="返回" CssClass="buttoncss" OnClick="CancelSave" /></li>
                    </ul>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
